package UtranNRMSystem;
/**
 * Generated from IDL enum "StateType".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public final class StateType
	implements org.omg.CORBA.portable.IDLEntity
{
	private int value = -1;
	public static final int _Disable = 0;
	public static final StateType Disable = new StateType(_Disable);
	public static final int _Enable = 1;
	public static final StateType Enable = new StateType(_Enable);
	public int value()
	{
		return value;
	}
	public static StateType from_int(int value)
	{
		switch (value) {
			case _Disable: return Disable;
			case _Enable: return Enable;
			default: throw new org.omg.CORBA.BAD_PARAM();
		}
	}
	public String toString()
	{
		switch (value) {
			case _Disable: return "Disable";
			case _Enable: return "Enable";
			default: throw new org.omg.CORBA.BAD_PARAM();
		}
	}
	protected StateType(int i)
	{
		value = i;
	}
	java.lang.Object readResolve()
	throws java.io.ObjectStreamException
	{
		return from_int(value());
	}
}
